package com.hongdee.insurance.quotation.entity;

import com.hongdee.base.entity.BaseEntity;
import org.hibernate.annotations.Type;

import javax.persistence.*;

@Entity
@Table(name = "T_Insurance_bihu")
public class TInsuranceBiHu extends BaseEntity {

    @Column(name = "quotation_id", length = 50, columnDefinition = " VARCHAR(32) COMMENT '车辆ID' ")
    private String quotationId;
    @Column(name = "car_id", length = 50, columnDefinition = " VARCHAR(32) COMMENT '车辆ID' ")
    private String carId;
    @Column(name = "plate_num", length = 50, columnDefinition = " VARCHAR(32) COMMENT '车辆ID' ")
    private String plateNum;
    @Column(name = "vin", length = 50, columnDefinition = " VARCHAR(32) COMMENT '车辆ID' ")
    private String vin;

    @Lob
    @Basic(fetch=FetchType.LAZY)
    @Type(type="text")
    @Column(name="bihu_msg", nullable=true)
    private String bihuMsg;

    public String getQuotationId() {
        return quotationId;
    }

    public void setQuotationId(String quotationId) {
        this.quotationId = quotationId;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getBihuMsg() {
        return bihuMsg;
    }

    public void setBihuMsg(String bihuMsg) {
        this.bihuMsg = bihuMsg;
    }
}
